#ifndef BULLET_H
#define BULLET_H
#include<QPixmap>
#include"config.h"

class Bullet
{
public:
    Bullet();
    void updatePosition();
public:
    QPixmap m_Bullet;
    int m_X;
    int m_Y;
    int m_Speed;
    bool m_Free;//子弹是否闲置
    QRect m_Rect;
};

#endif // BULLET_H
